package com.lintf.nacos;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author lin tingfeng
 * @ system Mac
 * @ data 2025/3/20 15:25
 * @ package_name com.lintf
 * @ project_name Default (Template) Project
 * @ desc
 */
public class SpringNacosSpringMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MainConfig.class);
        UserService userService = context.getBean(UserService.class);
        userService.getConfig();
    }
}